#ifndef __BSF_INTERFACE_H__
#define __BSF_INTERFACE_H__
#define MAXBUF 63
#define MAX_CHANNEL_NUM 8
extern unsigned const char channelTable[MAX_CHANNEL_NUM];
typedef  unsigned char BSF_BIT;
void bsf_itf_init(void);
void  bsf_itf_send(unsigned char *buf,unsigned char datLen);
unsigned char bsf_itf_recv(unsigned char *buf,unsigned char bufLen);
unsigned char bsf_itf_isRecvArrival(void);
void bsf_itf_setChn(unsigned char chn);
void bsf_itf_save(unsigned char addr, unsigned char *buf,unsigned char buflen);
void bsf_itf_read(unsigned char addr, unsigned char len, unsigned char *buf);
void bsf_itf_setToRx(void);
void bsf_itf_setSync(unsigned char uuid[2]);
void bsf_itf_setSyncDefault(void);
void bsf_timerPerMsDo(void);
unsigned short int bsf_itf_getUID(void);//获得芯片唯一ID
#endif
